The Philosophy behind the Existence of the Imams